﻿<nav class="navbar navbar-default navbar-static-top ts-navbar">
    <div class="container">
        <div class="navbar-header">
            <button type="button" class="navbar-toggle collapsed" data-toggle="collapse" data-target="#navbar" aria-expanded="false" aria-controls="navbar">
                <span class="sr-only">Toggle navigation</span>
                <span class="icon-bar"></span>
                <span class="icon-bar"></span>
                <span class="icon-bar"></span>
            </button>
            <a class="navbar-brand" href="~/">TSBLOG</a>
        </div>
        <div id="navbar" class="navbar-collapse collapse">
            <ul class="nav navbar-nav">
                <li><a href="~/">网站首页</a></li>
                <li class="dropdown">
                    <a href="#" class="dropdown-toggle" data-toggle="dropdown" role="button" aria-haspopup="true" aria-expanded="false">分类导航 <span class="caret"></span></a>
                    <ul class="dropdown-menu">
                        <li class="dropdown-header">后端开发</li>
                        <li><a href="http://2sharings.com/category/csharp-development">C#程序设计</a></li>
                        <li><a href="http://2sharings.com/category/dot-net">.NET程序设计</a></li>
                        <li><a href="http://2sharings.com/category/asp-dot-net">ASP.NET</a></li>
                        <li><a href="http://2sharings.com/category/asp-net-mvc">ASP.NET MVC</a></li>
                        <li><a href="http://2sharings.com/category/asp-dotnet-core">ASP.NET Core</a></li>
                        <li><a href="http://2sharings.com/category/winform">Winform</a></li>
                        <li role="separator" class="divider"></li>
                        <li class="dropdown-header">数据库</li>
                        <li><a href="http://2sharings.com/category/mysql">MySQL</a></li>
                        <li><a href="http://2sharings.com/category/sql-server">SQL Server</a></li>
                        <li><a href="http://2sharings.com/category/sqlite">SqLite</a></li>
                    </ul>
                </li>
                <li><a href="~/home/about">关于我们</a></li>
                <li><a href="~/home/contact">联系我们</a></li>
            </ul>
            <ul class="nav navbar-nav navbar-right navbar-profile">
                <li><a href="~/account/register">免费注册</a></li>
                <li><a class="btn btn-primary nav-btn-login" href="~/account/login">立即登录</a></li>
            </ul>
        </div><!--/.nav-collapse -->
    </div>
</nav>